package com.r.pan.exception;

import com.r.pan.enums.ResponseCode;

public class BadRequestException extends BusinessException {

    public BadRequestException(String message) {
        super(message, ResponseCode.PARAMETERS_ERROR.getCode());
    }

    public BadRequestException(String message, Throwable cause) {
        super(message, cause, ResponseCode.PARAMETERS_ERROR.getCode());
    }

    public BadRequestException(Throwable cause) {
        super(cause, ResponseCode.PARAMETERS_ERROR.getCode());
    }
}
